package com.service;

import com.po.Activity;
import com.po.User;

import java.util.List;
import java.util.Optional;

public interface UserService {

    User checkUserByPhone(String phone);

    User checkUserByPP(String phone,String password);

    User saveUser(User user);

    List<User> find();

    int findUserSize();

    List<User> findAll(int i);

    User findInfo(Long id);

}
